/*
 * @Descripttion: 
 * @version: 
 * @Author: sueRimn
 * @Date: 2025-05-25 01:56:00
 * @LastEditors: sueRimn
 * @LastEditTime: 2025-05-25 17:52:54
 */
#ifndef _IIC_H_
#define _IIC_H_

#include "main.h"

void ICM_IIC_Write_Reg(uint8_t SlaveAddr, uint8_t REG_Addr,uint8_t Data);
uint8_t ICM_IIC_Read_Reg(uint8_t SlaveAddr, uint8_t REG_Addr);
void ICM_ICM_IIC_Read_RegS(uint8_t SlaveAddr, uint8_t REG_Addr, uint8_t *data, uint8_t len);

void INA_IIC_Write_Reg(uint8_t SlaveAddr, uint8_t REG_Addr, uint8_t Data);
void INA_IIC_Write_Regs(uint8_t SlaveAddr, uint8_t REG_Addr, uint8_t *data,uint8_t len);
uint8_t INA_IIC_Read_Reg(uint8_t SlaveAddr, uint8_t REG_Addr);
void INA_IIC_Read_Regs(uint8_t SlaveAddr, uint8_t REG_Addr, uint8_t *data, uint8_t len);

#endif	//_IIC_H_

